/**
 * @file icon_state_wifi.c
 *
 */

/*********************
 *      INCLUDES
 *********************/
#include "lvgl.h"

/*********************
 *      DEFINES
 *********************/

LV_IMAGE_DECLARE(wifi0);
LV_IMAGE_DECLARE(wifi1);
LV_IMAGE_DECLARE(wifi2);
LV_IMAGE_DECLARE(wifi3);
LV_IMAGE_DECLARE(wifi4);

/**********************
 *      TYPEDEFS
 **********************/

/**********************
 *  STATIC PROTOTYPES
 **********************/



/**********************
 *  STATIC VARIABLES
 **********************/


/**********************
 *      MACROS
 **********************/

/**********************
 *   GLOBAL FUNCTIONS
 **********************/

static const lv_image_dsc_t *wifi_imgs[] = {
    &wifi0,
    &wifi1,
    &wifi2,
    &wifi3,
    &wifi4, 
};

lv_obj_t * create_icon_state_wifi(lv_obj_t *parent)
{
    lv_obj_t * obj = lv_animimg_create(parent);
    lv_animimg_set_src(obj, (const void **) wifi_imgs, sizeof(wifi_imgs) / sizeof(lv_image_dsc_t*));
    return obj;
}

